
import * as contactsActions from '../actions/contacts.action';

/*** 本机联系人相关
 * */
export function ContactsReducer(state: any= [
],action: contactsActions.All){
  switch (action.type) {

    case contactsActions.CONTACTS_CACHE:
      return [...action.payload];

    default:
      return state;
  }
}
